package com.firmboy.io_collection.collection;

import org.junit.Test;

/**
 * int测试类
 *
 * @author firmboy
 * @create 2018-05-01 下午7:41
 **/
public class IntegerTest {


    @Test
    public void intTest(){

        Integer integer = new Integer(200);

        Integer j = 200;

        System.out.println( j == integer);



    }


    @Test
    public void stringTest(){
        String a = "abc";
        String b = new String("abc");

        System.out.println(a == b.intern());

    }
}
